package org.yn.shopping.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class ShoppingCartDTO {

    @NotNull(message = "用户id不能为null")
    private Long userId;      //用户id
    @NotNull(message = "车辆id不能为null")
    private Long carId;        // 车辆信息id
}
